// /**
//  * https://www.cnblogs.com/CrazyWL/p/7283600.html 具体详细使用
//  *
//  */

import { connect } from "react-redux";
import React, { Component } from "react";

import Login from "./containers/mine/Login";
import Home from "./containers/home/Home";
import Mine from "./containers/mine/Mine";
import MyPatients from "./containers/mine/MyPatients";

import SignScan from "./containers/vitalSigns/SignScan";
import SignsEentry from "./containers/vitalSigns/SignsEentry";
import FeeSings from "./containers/feeSigns/FeeSings";
import FeeProList from "./containers/feeSigns/FeeProList";
import Dispense from "./containers/dispenseDrugs/Dispense";
import DispenseResult from "./containers/dispenseDrugs/DispenseResult";
import DispenseReviewResult from "./containers/dispenseReview/DispenseReviewResult";
import DispenseReview from "./containers/dispenseReview/DispenseReview";
import AdvicePerformHome from "./containers/advicePerform/AdvicePerformHome";
import OralMedicine from "./containers/advicePerform/OralMedicine";
import Infusion from "./containers/advicePerform/Infusion";
import InfusionResult from "./containers/advicePerform/InfusionResult";
import OralPerform from "./containers/advicePerform/OralPerform";
import PerformHistorys from "./containers/advicePerform/PerformHistorys";


import SignsBatch from "./containers/signsBatch/SignsBatch";
import PatorlHome from "./containers/patrol/PatorlHome";
import PatorlInfusion from "./containers/patrol/PatorInfusion";
import PatorlInfusionResult from "./containers/patrol/PatorInfusionResult";
import ConventionPator from "./containers/patrol/ConventionPator"; //常规巡视
import ConventionDetail from "./containers/patrol/ConventionDetail"; //常规巡视
import OxygenDetail from "./containers/patrol/OxygenDetail"; //吸氧巡视
import ConventionAdd from "./containers/patrol/ConventionAdd"; //添加常规巡视
import OxygenAdd from "./containers/patrol/OxygenAdd"; //添加吸氧巡视
import PatorRecord from "./containers/patrol/PatorRecord"; //巡视记录

import EveHome from "./containers/eve/EveHome"; //护理评估首页
import EveTumbleList from "./containers/eve/EveTumbleList"; //跌到坠床评估列表
import EveTumbleDetail from "./containers/eve/EveTumbleDetail"; //跌到坠床评估
import EveUsuallyDetail from "./containers/eve/EveUsuallyDetail"; //一般情况评估
import EveMNADetail from "./containers/eve/EveMNADetail"; //MNA评估
import EveTimingTestDetail from "./containers/eve/EveTimingTestDetail"; // 计时测试评估

// 排药
import ArrangeDrugList from "./containers/arrangeDrug/ArrangeDrugList";
import ArrangeDrug from "./containers/arrangeDrug/ArrangeDrug";

import { createStackNavigator, createAppContainer } from "react-navigation";
const RootStack = createStackNavigator({
  Login: Login,
  Home: Home,
  Mine: Mine,
  MyPatients: MyPatients,
  SignScan: SignScan,
  Dispense: Dispense, //配药
  DispenseResult: DispenseResult, //配药确认界面
  DispenseReview: DispenseReview, //配药复核
  DispenseReviewResult: DispenseReviewResult, //配药复核确认界面
  SignsEentry: SignsEentry, // 体征录入
  FeeSings: FeeSings, //费用录入
  OralMedicine: OralMedicine, //口服药
  Infusion: Infusion, //输液
  SignsBatch: SignsBatch, //体征批量录入
  AdvicePerformHome: AdvicePerformHome, //医嘱执行
  PatorlHome: PatorlHome,
  ArrangeDrugList: ArrangeDrugList, //排药列表
  ArrangeDrug: ArrangeDrug, //排药提交
  OralPerform: OralPerform,
  ConventionDetail: ConventionDetail,
  PatorlInfusion: PatorlInfusion, //输液巡视
  OxygenAdd: OxygenAdd,
  PatorlInfusionResult: PatorlInfusionResult, //输液巡视表单
  PatorRecord: PatorRecord, //输液巡视表单
  InfusionResult: InfusionResult, //输液执行
  ConventionPator: ConventionPator,
  OxygenDetail: OxygenDetail,
  ConventionAdd: ConventionAdd,
  EveHome: EveHome, //护理评估首页
  EveTumbleList: EveTumbleList,
  EveTumbleDetail: EveTumbleDetail,
  EveUsuallyDetail: EveUsuallyDetail,
  EveTimingTestDetail: EveTimingTestDetail,
  EveMNADetail: EveMNADetail,
  PerformHistorys: PerformHistorys,
  FeeProList: FeeProList //费用项目
});

const AppContainer = createAppContainer(RootStack);

class App extends React.Component {
  render() {
    return <AppContainer />;
  }
}

export default connect()(App);
